<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
Route::get('/', 'index/index/index');

/**
 * 微信token部分接口
 */
//token获取接口
Route::post('api/:version/token/getToken','api/:version.WxUser/getToken');
//token验证接口,看token是否有效





Route::post('api/:version/sendMail/registCode','api/:version.ThirdUser/registerMailCode');